﻿<%@ Page Language="C#" AutoEventWireup="true" Codebehind="Login.aspx.cs" Inherits="FrameWork.web.Login" %>

<html>
<head>
    <link rel="stylesheet" href="css/Site_Css.css" type="text/css" />

    <script language="javascript" src="js/checkform.js"></script>
    <script>
        function cancel()
        {
            document.getElementById('LoginName').value='';
            document.getElementById('LoginPass').value='';
        }
    </script>
    <title>
        <%=FrameName %>
    </title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body scroll="no" leftmargin="0" topmargin="0" marginheight="0" marginwidth="0">
    <table border="0" cellspacing="0" cellpadding="0" width="100%" height="100%">
        <tr>
            <td colspan="3">
                <table width="100%" border="0" cellspacing="0" cellpadding="0" style="height: 18%">
                    <form name="login" method="post" runat="server" defaultfocus="LoginName" onsubmit="javascript:return checkForm(this)">
                        <tr>
                            <td align="middle" valign="center">
                                <table width="499" height="400" border="0" align="center" cellpadding="0" cellspacing="1"
                                    bgcolor="#afbdd7">
                                    <tr>
                                        <td height="13" valign="top" bgcolor="#ffffff" style="width: 752px">
                                            <img src="images/logintop.jpg" width="750" height="29"></td>
                                    </tr>
                                    <tr>
                                        <td height="13" valign="top" bgcolor="#ffffff" style="width: 752px">
                                            <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0"
                                                width="750" height="243">
                                                <param name="movie" value="images/index.swf">
                                                <param name="quality" value="high">
                                                <param name="wmode" value="transparent">
                                                <embed src="images/index.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer"
                                                    type="application/x-shockwave-flash" width="750" height="243"></embed>
                                            </object>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td height="140" valign="top" background="images/loginbottom.jpg" bgcolor="#ffffff"
                                            style="width: 752px">
                                            <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
                                                <!--DWLayoutTable-->
                                                <tr>
                                                    <td width="750" height="140" valign="top">
                                                        <table width="100%" border="0" cellpadding="0" cellspacing="0">
                                                            <tr>
                                                                <td width="57%" height="132" rowspan="2">
                                                                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                                        <tr>
                                                                            <td width="41%">
                                                                            </td>
                                                                            <td width="59%">
                                                                            </td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                                <td width="43%" align="left" valign="top" style="height: 75px">
                                                                    <table width="280" height="70" border="0" cellpadding="0" cellspacing="0">
                                                                        <tr>
                                                                            <td width="171" height="22">
                                                                            </td>
                                                                            <td width="109" height="22">
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td style="height: 20px">
                                                                                &nbsp;</td>
                                                                            <td valign="bottom" style="height: 20px">
                                                                                <asp:TextBox ID="LoginName" class="text_input" title="请输入帐号!" runat="server" Style="width: 80px;
                                                                                    height: 18px;" BackColor="#E5EE7F" BorderStyle="None"></asp:TextBox></td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td height="18">
                                                                                &nbsp;</td>
                                                                            <td height="18" valign="bottom">
                                                                                <asp:TextBox ID="LoginPass" runat="server" class="text_input" title="请输入密码!" TextMode="Password"
                                                                                    Style="width: 80px; height: 18px;" BackColor="#E5EE7F" BorderStyle="None"></asp:TextBox></td>
                                                                        </tr>
                                                                    </table>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td height="58" align="left" valign="top">
                                                                    <table width="299" height="26" border="0" cellpadding="0" cellspacing="0">
                                                                        <tr valign="bottom">
                                                                            <td width="138" style="height: 30px">
                                                                            </td>
                                                                            <td width="42" style="height: 30px">
                                                                                <asp:ImageButton ID="imgBtn_Login" src="images/login1.jpg" Width="57" Height="17"
                                                                                    runat="server" OnClick="imgBtn_Login_Click" />
                                                                            </td>
                                                                            <td width="119" style="height: 30px">
                                                                                &nbsp;<img src="images/login2.jpg" style="position: relative; left: 0px; cursor: hand;" id="imgBtn_Cancle"  onclick="cancel()"/></td>
                                                                        </tr>
                                                                    </table>
                                                                    <asp:Label ID="lblMsg" runat="server" ForeColor="Red" Text="操作已经超时，您已经被系统强制退出！" Visible="False"></asp:Label></td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                    <tr style="background-color: #FFFFFF;">
                                        <td align="center">
                                            <div align="center">
                                                <table cellspacing="0" cellpadding="0" width="499" border="0">
                                                    <tr>
                                                        <td align="center">
                                                            <br />
                                                            <p style="color: #0099FF">
                                                                系统名称：上海浦东集装箱码头有限公司IT服务管理系统</p>
                                                            <p style="color: #0099FF">
                                                                Copyright © 2008 All rights reserved.
                                                            </p>
                                                            <p>
                                                            </p>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </div>
                                        </td>
                                    </tr>
                                  
                    </form>
                </table>
            </td>
        </tr>
    </table>
</body>
</html>
